package com.example.mapper;

import com.example.entity.Audit;
import com.example.entity.Params;
import com.example.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuditMapper {
    List<Audit> findBySearch(@Param("params") Params params);

    List<Audit> selectAll();

    int deleteById(Integer id);

    int add(Audit audit);

    int update(Audit audit);
}
